package mapper;


import org.apache.ibatis.annotations.Mapper;
import pojo.Parking;
import pojo.ParkingInfo;
import vo.HomeParkingVo;

import java.util.List;

@Mapper
public interface ParkingMapper {

    public List<Parking> searchSomeByPage(Parking t);

    public List<HomeParkingVo> getHomeParkingVo(Parking t);

    public List<HomeParkingVo> superSearchHomeVo(String superSearchKeyWord);

    int getCounts();

    int getCountsWithKey(String superSearchKeyWord);

    int deleteByPrimaryKey(String parkingId);

    int insert(Parking record);

    int insertParkingInfo(ParkingInfo parkingInfo);

    int insertSelective(Parking record);

    HomeParkingVo selectByPrimaryKey(String parkingId);

    int updateByPrimaryKeySelective(Parking record);

    int updateByPrimaryKeyWithBLOBs(Parking record);

    int updateByPrimaryKey(Parking record);

    public List<Parking> superSearch(String superSearchKeyWord);
}